package com.hcbd.tdwt.ui.fuda.common.vo.weather;

/**
 * - @Description:  实时天气
 * - @Author:  LXJ
 * - @Time:  2019/7/31 11:42
 */
public class RealTimeWeather {
    //温度，摄氏度
    int tmp;
    //天气实况代码
    int condCode;
    //风向代码
    int windDir;
    //风力
    int windSc;
    //风速，km/h
    int windSpd;
    //相对湿度
    int hum;
    //降雨量，mm
    int pcpn;
    //大气压强，单位：hPa:百帕
    int pres;
    //能见度，km
    int visable;
    //云量
    int cloud;
    //用户所在地区，范围在县级
    String adress;

    public RealTimeWeather(int tmp, int condCode, int windDir, int windSc, int windSpd, int hum, int pcpn, int pres, int visable, int cloud, String adress) {
        this.tmp = tmp;
        this.condCode = condCode;
        this.windDir = windDir;
        this.windSc = windSc;
        this.windSpd = windSpd;
        this.hum = hum;
        this.pcpn = pcpn;
        this.pres = pres;
        this.visable = visable;
        this.cloud = cloud;
        this.adress = adress;
    }

    public int getTmp() {
        return tmp;
    }

    public void setTmp(int tmp) {
        this.tmp = tmp;
    }

    public int getCondCode() {
        return condCode;
    }

    public void setCondCode(int condCode) {
        this.condCode = condCode;
    }

    public int getWindDir() {
        return windDir;
    }

    public void setWindDir(int windDir) {
        this.windDir = windDir;
    }

    public int getWindSc() {
        return windSc;
    }

    public void setWindSc(int windSc) {
        this.windSc = windSc;
    }

    public int getWindSpd() {
        return windSpd;
    }

    public void setWindSpd(int windSpd) {
        this.windSpd = windSpd;
    }

    public int getHum() {
        return hum;
    }

    public void setHum(int hum) {
        this.hum = hum;
    }

    public int getPcpn() {
        return pcpn;
    }

    public void setPcpn(int pcpn) {
        this.pcpn = pcpn;
    }

    public int getPres() {
        return pres;
    }

    public void setPres(int pres) {
        this.pres = pres;
    }

    public int getVisable() {
        return visable;
    }

    public void setVisable(int visable) {
        this.visable = visable;
    }

    public int getCloud() {
        return cloud;
    }

    public void setCloud(int cloud) {
        this.cloud = cloud;
    }

    public String getAdress() {
        return adress;
    }

    public void setAdress(String adress) {
        this.adress = adress;
    }

    @Override
    public String toString() {
        return "RealTimeWeather{" +
                "tmp=" + tmp +
                ", condCode=" + condCode +
                ", windDir=" + windDir +
                ", windSc=" + windSc +
                ", windSpd=" + windSpd +
                ", hum=" + hum +
                ", pcpn=" + pcpn +
                ", pres=" + pres +
                ", visable=" + visable +
                ", cloud=" + cloud +
                ", adress='" + adress + '\'' +
                '}';
    }
}
